package Others.DesignPattern.PrototypePattern.Pattern.Object;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Resume implements Cloneable{

    private String name;
    private String sex;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    private String age;
    private String timeArea;
    private String company;

    public void show(){
        System.out.println("姓名：" + name + "  性别：" + sex + "  年龄：" + age + "  工作年限：" + timeArea + "  工作经历：" + company);
    }

}
